package com.zhixi.principle.lawofdemeterprinciple.operation;

import java.util.List;

/**
 * 组长
 *
 * @作者 ShuHaoNan
 * @邮箱 shuhaonan1@gmail.com
 * @时间 2020/11/14 18:56
 */
public class GroupLeader {

    private List<Student> studentList;

    public GroupLeader(List<Student> studentList) {
        this.studentList = studentList;
    }

    /**
     * 清点人数
     */
    public void count() {
        System.out.println("总人数是:" + this.studentList.size());
    }

}
